<script>
    if (window.testRunner) {
        testRunner.dumpAsText();
        testRunner.dumpChildFrames();
    }

    function log(message)
    {
        var console = document.getElementById("console");
        console.appendChild(document.createTextNode(message + "\n"));
    }

    function dumpDOM(doc)
    {
        log(doc.documentElement.innerHTML);
    }
</script>
<pre id="console"></pre>
<iframe onload="dumpDOM(this.contentDocument)" src="resources/xslt-text.xml"></iframe>
